package com.yeye.studio.utils;

import lombok.extern.slf4j.Slf4j;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

@Slf4j
public class Func {
    public static List<Long> toLongList(String string){
        return Arrays.stream(string.split(",")).map(s -> Long.parseLong(s.trim())).collect(Collectors.toList());
    }
}
